//
//  KDBaseMyHomeController.h
//  YuQingXiaoFang
//
//  Created by wangdongdong on 18/6/7.
//  Copyright © 2018年 KDTech. All rights reserved.
//

#import <UIKit/UIKit.h>
/** 首页tab的button宽度*/
#define BTN_HOME_WIDTH screenW/5
/** nav高度*/
#define navH self.navigationController.navigationBar.bounds.size.height
/** 底部tab宽度*/
#define tabH self.tabBarController.tabBar.bounds.size.height
/** 首页顶部banner高度*/
#define homeTopBannerH screenH/6
/** 首页tab的高度*/
#define homeTabH navH
/** 首页内容（子cntroller）高度*/
#define homeSubControllerH screenH-20-navH-homeTabH-homeTopBannerH-tabH

@interface KDBaseMyHomeController : UIViewController

/**  是否需要下划线 ，默认为否*/
@property (nonatomic, assign) BOOL needUnderLine;

/**  当前属于第几个 */
@property (nonatomic, assign,readonly) NSInteger currentIndex;


- (void)setupAllTitle;
/**
 *  创建有右边按钮的
 */
- (void)setupAllTitleWithRightBtn:(UIButton *)rightBtn;
- (void)setupManageBtn;
- (void)switchToPage:(NSInteger)page;
@end
